package ldkxingzhe.ldkxingzhedemo.view;

import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;

import ldkxingzhe.ldkxingzhedemo.R;

/**
 * Created by Administrator on 2016/3/11.
 */
public class IconIndicatorActivity extends AppCompatActivity{
    @SuppressWarnings("unused")
    private static final String TAG = "IconIndicatorActivity";

    private IconIndicator iconIndicator;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_icon_indicator);
        iconIndicator = (IconIndicator) findViewById(R.id.icon_indicator);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                iconIndicator.setSelectPosition(2);
                iconIndicator.setIconCount(8);
            }
        }, 3000);
    }
}
